package com.lhf.springcloud.DAO;

import com.lhf.springcloud.Entity.teacher.TeacherData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeacherCompleteDataMapper {
    List<TeacherData> findAllTeacherBaseData(@Param("page") Integer page,@Param("limit") Integer limit);

    int account();

    TeacherData findById(String id);

    void updateTeacherData(String value, String id, String field);

    void updateTeacherStatus(String false1, String id);

    List<TeacherData> findByIdCard(String idCard);

    void insert(TeacherData list);
}
